import request from '@/utils/request'

export function userMessage(id) {
    return request({
        url: `api/user/message/id=${id}`,
        method: 'get'
    })
}

export function updateUser(data) {
    return request({
        url: `api/user/update`,
        method: 'post',
        data: data
    })
}